﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PlugNT.Cms.Web.Member.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/Css/member.css" />
    <script type="text/javascript" src="/Js/main.js"></script>
    <title>会员商务中心 - 艺博城</title>
</head>
<body>
    <form id="form_Main" runat="server">
        <ext:PageManager ID="pm_Main" AutoSizePanelID="rpnl_Main" runat="server" />
        <ext:RegionPanel ID="rpnl_Main" ShowBorder="false" runat="server">
            <Regions>
                <ext:Region ID="rgn_Top" ShowBorder="false" ShowHeader="false" Position="Top"
                    Layout="Fit" runat="server">
                    <Toolbars>
                        <ext:Toolbar ID="tbr_b" Position="Bottom" runat="server">
                            <Items>
                                <ext:ToolbarSeparator ID="tbf_sephome" runat="server">
                                </ext:ToolbarSeparator>
                                <ext:Button ID="btn_SourceCode" OnClientClick="window.open('/', '_blank');"
                                    Icon="WorldLink" Text="网站首页" EnablePostBack="false" runat="server">
                                </ext:Button>
                                <ext:ToolbarSeparator ID="tbf_sepll" runat="server">
                                </ext:ToolbarSeparator>
                                <ext:Button ID="btn_kfzx" Icon="Help" Text="客服中心" runat="server">
                                </ext:Button>
                                <ext:ToolbarFill ID="tbf_c" runat="server">
                                </ext:ToolbarFill>
                                <ext:ToolbarSeparator ID="tbf_seplinf" runat="server">
                                </ext:ToolbarSeparator>
                                <ext:Button ID="btn_Info" Icon="House" Text="" runat="server" ToolTip="我的主页">
                                </ext:Button>
                                <ext:ToolbarSeparator ID="tbf_seplrl" runat="server">
                                </ext:ToolbarSeparator>
                                <ext:Button ID="btn_UserInfo" Icon="User" Text="个人信息"  runat="server" OnClick="btn_UserInfo_Click">
                                </ext:Button>
                                <ext:ToolbarSeparator ID="tbf_seplrc" runat="server">
                                </ext:ToolbarSeparator>
                                <ext:Button ID="btn_ChangePassword" Icon="LockKey" Text="修改密码" runat="server" OnClick="btn_ChangePassword_Click">
                                </ext:Button>
                                <ext:ToolbarSeparator ID="tbf_seplrr" runat="server">
                                </ext:ToolbarSeparator>
                                <ext:Button ID="btn_EndLogin" Icon="BulletGo" Text="注销登录" runat="server" ConfirmText="确认要注销登录吗？" OnClick="btn_EndLogin_Click">
                                </ext:Button>
                                <ext:ToolbarSeparator ID="tbf_seplr" runat="server">
                                </ext:ToolbarSeparator>
                            </Items>
                        </ext:Toolbar>
                    </Toolbars>
                </ext:Region>
                <ext:Region ID="ren_Left" Split="true" EnableSplitTip="true" CollapseMode="Mini" EnableCollapse="true" Width="180px" ShowHeader="true"
                    Title="功能菜单" Icon="Outline" Margins="0 0 5 5" Layout="Fit" Position="Left" runat="server">
                    <Toolbars>
                        <ext:Toolbar ID="tbr_menu" Position="Bottom" runat="server">
                            <Items>
                                <ext:ToolbarFill ID="tf_m" runat="server">
                                </ext:ToolbarFill>
                                <ext:Button ID="btn_ReloadMenu" IconUrl="/Images/reload.png" Text="刷新" runat="server">
                                </ext:Button>
                            </Items>
                        </ext:Toolbar>
                    </Toolbars>
                    <Items >
                        <ext:Accordion ID="ad_Main" runat="server" ShowHeader="false" ShowBorder="false" BodyPadding="2px">
                            <Panes>
                                <ext:AccordionPane ID="ap_MProduct" Icon="FolderWrench" Title="产品管理" runat="server" Layout="Fit">
                                    <Items>
                                        <ext:Tree ID="tree_MProduct" runat="server" ShowBorder="false" ShowHeader="false" AutoScroll="true">
                                            <Nodes>
                                                <ext:TreeNode NodeID="Product_Default"  Text="产品管理" IconUrl="/Icons/database_yellow.png" NavigateUrl="Product/Default.aspx">
                                                </ext:TreeNode>
                                            </Nodes>
                                        </ext:Tree>
                                    </Items>
                                </ext:AccordionPane>
                                <ext:AccordionPane ID="ap_MBusiness" Icon="FolderBell" runat="server" Title="信息管理" Layout="Fit">
                                    <Items>
                                        <ext:Tree ID="tree_MBusiness" runat="server" ShowBorder="false" ShowHeader="false" AutoScroll="true">
                                            <Nodes>
                                                <ext:TreeNode NodeID="Supply_Default" Text="供应管理" IconUrl="/Icons/database_yellow.png" NavigateUrl="Supply/Default.aspx">
                                                </ext:TreeNode>
                                                <ext:TreeNode NodeID="Buy_Default"  Text="求购管理" IconUrl="/Icons/database_yellow.png" NavigateUrl="Buy/Default.aspx">
                                                </ext:TreeNode>
                                                <ext:TreeNode NodeID="News_Default"  Text="资讯管理" IconUrl="/Icons/database_yellow.png" NavigateUrl="News/Default.aspx">
                                                </ext:TreeNode>
                                            </Nodes>
                                        </ext:Tree>
                                    </Items>
                                </ext:AccordionPane>
                                <ext:AccordionPane ID="ap_MInfo" AutoScroll="true" Icon="FolderPage" runat="server" Title="商机管理" Layout="Fit">
                                    <Items>
                                        <ext:Tree ID="tree_MInfo" runat="server" ShowBorder="false" ShowHeader="false" AutoScroll="true">
                                        </ext:Tree>
                                    </Items>
                                </ext:AccordionPane>
                                <ext:AccordionPane ID="ap_MHome" AutoScroll="true" Icon="FolderImage" runat="server" Title="商铺管理" Layout="Fit">
                                    <Items>
                                        <ext:Tree ID="tree_MHome" runat="server" ShowBorder="false" ShowHeader="false" AutoScroll="true">
                                            <Nodes>
                                                <ext:TreeNode NodeID="Store_Default" Text="商铺设置" IconUrl="/Icons/database_yellow.png" NavigateUrl="Store/Default.aspx" >
                                                </ext:TreeNode>
                                                <ext:TreeNode NodeID="News_Default" Text="企业新闻" IconUrl="/Icons/database_yellow.png" NavigateUrl="News/Default.aspx">
                                                </ext:TreeNode>
                                                <ext:TreeNode NodeID="Setting_Default" Text="企业信息" IconUrl="/Icons/database_yellow.png" NavigateUrl="Setting/CompanyInfo.aspx">
                                                </ext:TreeNode>
                                                <ext:TreeNode NodeID="Link_Default" Text="友情链接" IconUrl="/Icons/database_yellow.png" NavigateUrl="Link/Default.aspx">
                                                </ext:TreeNode>
                                            </Nodes>
                                        </ext:Tree>
                                    </Items>
                                </ext:AccordionPane>
                                <ext:AccordionPane ID="ap_MInfomation" Icon="FolderStar" runat="server" Title="账户管理" Layout="Fit" >
                                    <Items>
                                        <ext:Tree ID="tree_MInfomation" runat="server" ShowBorder="false" ShowHeader="false" AutoScroll="true">
                                            <Nodes>
                                                <ext:TreeNode NodeID="Personal_Default"  Text="个人信息" IconUrl="/Icons/database_yellow.png" NavigateUrl="javascript:parent.location.href = '/Personal/Default.aspx';" >
                                                </ext:TreeNode>
                                            </Nodes>
                                        </ext:Tree>
                                    </Items>
                                </ext:AccordionPane>
                            </Panes>
                        </ext:Accordion>
                    </Items>
                </ext:Region>
                <ext:Region ID="ren_Center" ShowHeader="false" Layout="Fit" Position="Center" Margins="0 0 5 0"
                    runat="server">
                    <Items>
                        <ext:TabStrip ID="tabs_Main" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                            <Tabs>
                                <ext:Tab ID="tab_Home" Title="管理首页" Layout="Fit" Icon="House" runat="server">
                                    <Toolbars>
                                        <ext:Toolbar ID="tb_Tool" runat="server">
                                            <Items>
                                                <ext:ToolbarFill ID="tbf_htfill" runat="server">
                                                </ext:ToolbarFill>
                                                <ext:Button ID="btn_Reload" Icon="ArrowRefresh" Text="刷新窗口" runat="server" OnClick="btn_Reload_Click">
                                                </ext:Button>
                                            </Items>
                                        </ext:Toolbar>
                                    </Toolbars>
                                    <Items>
                                        <ext:ContentPanel ID="ct_Home" runat="server" ShowBorder="false" ShowHeader="false" BodyPadding="10px" AutoScroll="true">
                                   
                                        </ext:ContentPanel>
                                    </Items>
                                </ext:Tab>
                            </Tabs>
                        </ext:TabStrip>
                    </Items>
                </ext:Region>
                <ext:Region ID="ren_Right" Title="商务便笺" Icon="Lightning" EnableCollapse="true" Split="true"
                    EnableSplitTip="true" CollapseMode="Mini" Width="187px" Margins="0 5 5 0" BodyPadding="2px" Position="Right"
                    runat="server">
                    <Items>
                        <ext:TextArea ID="txt_Infos" runat="server" Width="182px" Height="100px" MaxLength="1000"></ext:TextArea>
                        <ext:Label ID="lbInfo1" runat="server" Text="[可记录一些文字备忘，限1000字]"></ext:Label>
                        <ext:Button runat="server" Text=" 更 新 " ID="btn_Update" OnClick="btn_Update_Click"></ext:Button>
                        <ext:ContentPanel ID="contentBord" runat="server" Title="系统公告" ShowBorder="true" ShowHeader="true" BodyPadding="5px" AutoScroll="true" Height="160px">
                              <div>暂无公告！</div>
                        </ext:ContentPanel>
                        <ext:ContentPanel ID="contentInfo" runat="server" Title="我的资料" ShowBorder="true" ShowHeader="true" BodyPadding="5px" AutoScroll="true" Height="317">
                              
                        </ext:ContentPanel>
                    </Items>
                </ext:Region>
            </Regions>
        </ext:RegionPanel>
        <ext:Window ID="win_ChangePassword" Icon="LockKey" Title="修改密码" IFrameUrl="ChangePassword.aspx" Hidden="true" EnableIFrame="true"
            Target="Parent" runat="server" IsModal="true" Width="350px" Height="170px">
        </ext:Window>
        <ext:Timer ID="tir_Main" Interval="20" EnableAjaxLoading="false" OnTick="tir_Main_Tick"
            runat="server">
        </ext:Timer>
    </form>
    <script type="text/javascript"> 
        var IDS = {
            tree_MProduct: '<%= tree_MProduct.ClientID %>',
            tree_MBusiness: '<%= tree_MBusiness.ClientID %>',
            tree_MHome: '<%=  tree_MHome.ClientID %>',
            tree_MInfo: '<%= tree_MInfo.ClientID %>',
            tree_MInfomation: '<% =tree_MInfomation.ClientID%>',
            tabs_Main: '<%= tabs_Main.ClientID %>'
        }; 
    </script>
</body>
</html>
